package com.demo.demo_mybatis.service.impl;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.demo.demo_mybatis.entity.Order;
import com.demo.demo_mybatis.mapper.OrderMapper;
import com.demo.demo_mybatis.service.IOrderService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author demo
 * @since 2022-03-09
 */
@Service
public class OrderServiceImpl extends ServiceImpl<OrderMapper, Order> implements IOrderService {

    @Override
    public Order getOne(Wrapper<Order> queryWrapper, boolean throwEx) {
        return super.getOne(queryWrapper, throwEx);
    }
}
